﻿namespace DGRobot
{
    public class QuestionActionPara
    {
        public const string Type_OpenPdf = "OpenPdf";
        public const string Type_OpenUrl = "OpenUrl";
        public const string Action_Pop = "Pop";
        public const string Action_StopSpeakAndPop = "StopSpeakAndPop";
        public const string Action_StopSpeak = "StopSpeak";


        /// <summary>
        /// 执行类型(OpenPdf, OpenUrl)
        /// </summary>
        public string Type { get; set; }
        /// <summary>
        /// 执行动作 (Pop: 立即弹出, StopSpeakAndPop, StopSpeak ...)
        /// </summary>
        public string Action { get; set; }

        /// <summary>
        /// 参数值 , 是URL或Pdf路径
        /// </summary>
        public string Value { get; set; }


        public string Answer { get; set; }
    }
}